﻿using TaxiService.Domain.Framework;

namespace TaxiService.Domain
{
  interface IRepository<T> where T : IAggregateRoot
  {
    T GetBy(int id);

    void Add(T root);
  }
}
